package com.wynet.shopsapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("t_shops")
@NoArgsConstructor
public class Shops {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String s_name;
    private String s_photo;
    private String s_address;
    private String s_info;

    public Shops(String s_name, String s_photo, String s_address, String s_info) {
        this.s_name = s_name;
        this.s_photo = s_photo;
        this.s_address = s_address;
        this.s_info = s_info;
    }
}
